package com.jintian.smart.kernel.flowable.domain.entity;

import com.jintian.smart.kernel.core.annotation.orm.SimpleQuery;
import com.jintian.smart.kernel.orm.entity.BaseBaseEntity;
import lombok.*;
import org.beetl.sql.annotation.entity.Column;
import org.beetl.sql.annotation.entity.Table;

/**
 * MdaActGrant entity gen at 2023-02-24
 */

@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Table(name = "MDA_ACT_GRANT")
@SimpleQuery("com.jintian.mda.flow.domain.query.ActGrantQuery")
public class ActGrant extends BaseBaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 环节id
     */
    @Column(name = "act_id", comment = "环节id")
    private String actId;
    /**
     * 机构类型:USER|ROLE|POS|ORG
     */
    @Column(name = "org_kind", comment = "机构类型:USER|ROLE|POS|ORG")
    private String orgKind;
    /**
     * 机构编码
     */
    @Column(name = "org_code", comment = "机构编码")
    private String orgCode;
}